import router from "@/router/index";
import NProgress from "nprogress";
// 前置路由守卫
router.beforeEach((to, from) => {
  NProgress.start();
});
// 后置路由守卫
router.afterEach((to, from, failure) => {
  NProgress.done();
});
